package com.example.hl.gobang.model;

import android.graphics.Point;

import java.util.ArrayList;

import cn.bmob.v3.BmobObject;

/**
 * Created by My Family on 2018/6/17.
 */

public class Room extends BmobObject {
    public int getRoomId() {
        return roomId;
    }

    public void setRoomId(int roomId) {
        this.roomId = roomId;
    }

    public int getWho() {
        return who;
    }

    public void setWho(int who) {
        this.who = who;
    }


    public ArrayList<Point> getWhiteArray() {
        return mWhiteArray;
    }

    public void setWhiteArray(ArrayList<Point> whiteArray) {
        mWhiteArray = whiteArray;
    }

    public ArrayList<Point> getBlackArray() {
        return mBlackArray;
    }

    public void setBlackArray(ArrayList<Point> blackArray) {
        mBlackArray = blackArray;
    }

    public boolean isGameOver() {
        return mIsGameOver;
    }

    public void setGameOver(boolean gameOver) {
        mIsGameOver = gameOver;
    }

    public boolean isWhiteWinner() {
        return mIsWhiteWinner;
    }

    public void setWhiteWinner(boolean whiteWinner) {
        mIsWhiteWinner = whiteWinner;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    int roomId;
    int who;
    int status;

    private ArrayList<Point> mWhiteArray = new ArrayList<>();
    private ArrayList<Point> mBlackArray = new ArrayList<>();

    private boolean mIsGameOver;
    private boolean mIsWhiteWinner;


}
